package com.bootdo.shop.service.impl;

import com.bootdo.shop.dao.WxShopCatAuditResultDao;
import com.bootdo.shop.domain.WxShopCatAuditResultDO;
import com.bootdo.shop.service.WxShopCatAuditResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class WxShopCatAuditResultServiceImpl implements WxShopCatAuditResultService {
	@Autowired
	private WxShopCatAuditResultDao wxShopCatAuditResultDao;
	
	@Override
	public WxShopCatAuditResultDO get(String id){
		return wxShopCatAuditResultDao.get(id);
	}
	
	@Override
	public List<WxShopCatAuditResultDO> list(Map<String, Object> map){
		return wxShopCatAuditResultDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return wxShopCatAuditResultDao.count(map);
	}
	
	@Override
	public int save(WxShopCatAuditResultDO wxShopCatAuditResult){
		return wxShopCatAuditResultDao.save(wxShopCatAuditResult);
	}
	
	@Override
	public int update(WxShopCatAuditResultDO wxShopCatAuditResult){
		return wxShopCatAuditResultDao.update(wxShopCatAuditResult);
	}
	
	@Override
	public int remove(String id){
		return wxShopCatAuditResultDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return wxShopCatAuditResultDao.batchRemove(ids);
	}

    @Override
    public List<WxShopCatAuditResultDO> likeList(Map<String, Object> map){
        return wxShopCatAuditResultDao.likeList(map);
    }

    @Override
    public WxShopCatAuditResultDO getByCategoryId(String id) {
		WxShopCatAuditResultDO wxShopCatAuditResultDO =wxShopCatAuditResultDao.getByCategoryId(id);
		return wxShopCatAuditResultDO;

    }

}
